<?php
    require_once(SYS_LIB . '/FusionCharts/FusionCharts.php');
    require_once(SYS_CONFIG . '/FusionCharts.php');

    function getChartsInfo(){
        static $info = null;
        return null === $info ? ($info = json_decode(SYS_CHARTS, true)) : $info;
    }